package com.fay.corejava.chapter4;

/**
 * @Title:
 * @Description:
 * @Author Fay Wang
 * @Date 2022/2/20 20:57
 * @Version 1.0
 */
public abstract class Person {
    private String name;

    public Person(String name) {
        this.name = name;
    }

    public final String getName() {
        return name;
    }

    public abstract int getId();
}
